.custom-right-sidebar {
  width: 200px;
  background-color: white;
  border-radius: 4px;
  padding: 16px;
  display: grid;
  gap: 8px 0;
  box-shadow:
    0 1px 3px 0 rgb(0 0 0 / 0.1),
    0 1px 2px -1px rgb(0 0 0 / 0.1);
  box-sizing: border-box;
  max-height: calc(100vh - 30px);
  overflow-y: auto;
  user-select: none;

  .custom-right-sidebar-title {
    font-weight: bold;
    text-align: center;
  }

  .custom-right-sidebar-item {
    .custom-right-sidebar-item-label {
      font-size: 14px;
      margin-bottom: 8px;
      color: rgb(0 0 0/ 0.6);
    }

    .ant-select,
    .ant-input-number {
      width: 100%;
    }

    .custom-right-sidebar-item-list-container {
      .custom-right-sidebar-item-list {
        display: flex;
        flex-direction: column;

        .custom-right-sidebar-item-list-subItem {
          display: grid;
          gap: 8px;
          border: 1px dashed rgb(0 0 0/ 0.2);
          border-radius: 4px;
          padding: 8px;
          margin-bottom: 8px;

          .custom-right-sidebar-item-list-subItem-title {
            display: flex;
            align-items: center;
            justify-content: space-between;
            color: rgb(0 0 0/ 0.65);
            font-size: 12px;

            span:last-child {
              cursor: pointer;

              &:hover {
                color: rgb(0, 0, 0);
              }
            }
          }

          .custom-right-sidebar-item-list-subItem-column {
            display: flex;
            align-items: center;

            & > span:first-child {
              width: 50px;
              color: rgb(0 0 0/ 0.65);
              font-size: 12px;
            }
          }
        }
      }

      .custom-right-sidebar-item-list-add {
        width: 100%;
      }
    }
  }
}
